<template>
  <div class="">
    <!-- <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
      <div class="container-fluid w-75 align-middle">
        <!-- <a class="navbar-brand text-success" href="#"> -->
        <a class='navbar-brand' href="/">
          <img class='rounded-circle' src="http://192.168.0.10:7777/static/seadog_header.jpg" width='40'> SeaDog' NetLab
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
          aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <!-- <ul class="navbar-nav mr-auto">
            <li class="nav-item active">
              <a class="nav-link" href="{% url 'topo:main' %}">Home</a>
            </li>
            <li class="nav-item">
              <a class="nav-link" href="/admin">admin</a>
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true"
                aria-expanded="false">
                Dropdown
              </a>
              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <div class="dropdown-divider"></div>
                <a class="dropdown-item" href="#">Something else here</a>
              </div>
            </li>
          </ul> -->

          <ul class="navbar-nav ms-auto">
            <li class="nav-item"><a class="nav-link" href='#'>seadog</a></li>
            <li class="nav-item"><a class="nav-link" href='{% url "topo:logout" %}'>Logout</a></li>
          </ul>
          <!-- {% if user.is_authenticated %}
            <ul class="navbar-nav ml-auto">
              <li class="nav-item"><a class="nav-link" href='#'>{{ user.username }}</a></li>
              <li class="nav-item"><a class="nav-link" href='{% url "topo:logout" %}'>Logout</a></li>
            </ul>
            {% else %}
            <ul class="navbar-nav ml-auto">
              <li class="nav-item"><a class="nav-link" href='{% url "topo:login" %}'>LOGIN</a></li>
            </ul>
            {% endif %} -->
          <form class="d-flex">
            <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
            <button class="btn btn-outline-success" type="submit">Search</button>
          </form>
        </div>
      </div>
    </nav>
  </div>
</template>

<script>
  export default {}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped></style>
